/**
 *	---------------------------------------------------------------------------
 *	COMP 6231/FALL 2013
 *	Assignment - 02
 *	@author Talha Rahman (1296884)
 *	---------------------------------------------------------------------------
 *	This in abstract type for records stored in the server.
 *	@see {@link CriminalRecord},{@link MissingRecord} 
 *	  
 */
package ca.concordia.comp6231.record;

public abstract class Record {
	
	private String recordID;
	private String firstName;
	private String lastName;
	private String status;
	private String recordType;
	
	public String getRecordID() {
		return recordID;
	}
	public void setRecordID(String recordID) {
		this.recordID = recordID;
	}
	public String getFirstName() {
		return firstName;
	}
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	public String getLastName() {
		return lastName;
	}
	public void setLastName(String lastname) {
		this.lastName = lastname;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getRecordType() {
		return recordType;
	}
	
	@Override
	public String toString(){
		return "{"
				+ "recordID:" + this.getRecordID() + ","
				+ "firstName:" + this.getFirstName() + ","
				+ "lastName:" + this.getLastName() + ","
				+ "status:" + this.getStatus() +
				"}";
			
	}
}
